<?php
declare(strict_types = 1);

namespace App\Models\Emo\Admin;

class EmoGroup extends \App\Models\Emo\EmoGroup
{
    public static function getList():array
    {
        $items = self::query()->get(["uid", "title"]);
        $lists = [];
        if (!empty($items)) {
            foreach ($items as $value) {
                $lists[$value->uid] = $value->title;
            }
        }
        return $lists;
    }
}
